home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
eflibpt4.zip
/
DEMO
/
SCREEN
/
VIRTDELT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-08-02
|
937b
|
29 lines
{ Borland Pascal Extended Function Library - EFLIB (C) Johan Larsson, 1996
Demonstration; virtual screen restore with delta technique
EFLIB IS PROTECTED BY THE COPYRIGHT LAW AND MAY NOT BE COPIED, SOLD OR
MANIPULATED. FOR MORE INFORMATION, SEE PROGRAM MANUAL! THIS DEMONSTRAT-
ION PROGRAM MAY FREELY BE USED AND DISTRIBUTED. }
uses EFLIBDEF, EFLIBSCR, CRT;
var Delta : VirtualScreenObjectType;
begin
Screen.Draw;
with Delta do begin
{ Initialize virtual screen and fill it with red characters }
InitializeCopy;
Fill (#219, Red);
{ Restore region of virtual screen but exclude the specified
field from the restoration using the delta technique. }
DeltaRestoreArea (1, 1, 80, 25, { Restore region }
2, 2, 78, 20); { Explode region }
Intercept;
end;
end.